package form.ui.component.ScrollBar
{
	import flash.events.Event;
	import flash.events.MouseEvent;
	
	import form.ui.core.Screen;

	public class Screen extends form.ui.core.Screen
	{
		public function Screen()
		{
			super();
			
			this.buttonMode = true;
			this.useHandCursor = true;
			
			this.addEventListener(MouseEvent.MOUSE_UP, this.onMouseUp);
		}
		
		protected function onMouseUp(e:Event):void {
			this.currentStage.removeChild(this);
		}
	}
}